<template>
  <div id="app">
    <router-view v-if="isAlive"/>
  </div>
</template>

<script>
  export default {
  provide () {
    return {
      allReload: this.allReload,
    }
  },
  data () {
    return {
      isAlive: true,
    };
  },
  methods: {
    allReload(){
      this.isAlive = false;
        this.$nextTick(function () {
          this.isAlive = true;
          this.$router.push({name: 'Login'});
    })
    }
  }
}
</script>

<style lang="scss" src='./global.scss' />
